package com.lvhx.dao.extend;

import com.lvhx.pojo.Order;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface OrderExtednMapper {
    List<Order> getAllInfo();

    void updateOrder(@Param("id") String id, @Param("name") String name);

    Order getOrderById(@Param("id") String id);

    void insertBatchByTableName(@Param("tableName") String tableName,
                                @Param("columns") List<String> columns,
                                @Param("dataList") List<Map<String,Object>> dataList);
}
